package com.lrs.core.test.service;

import com.lrs.core.test.entity.People;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lrs.common.constant.Result;
import com.lrs.common.dto.PageDTO;
import com.lrs.core.admin.entity.User;

/**
 * <p>
 *   服务类
 * </p>
 *
 * @author rstyro
 * @since 2023年1月3日
 */
public interface IPeopleService extends IService<People> {
    public Result getList(PageDTO dto) throws  Exception;
    public Result add(People item, User user) throws  Exception;
    public Result edit(People item, User user) throws  Exception;
    public Result del(Long id, User user) throws  Exception;
    public Result getDetail(Long id) throws  Exception;
}
